﻿using System;
using System.Xml.Serialization;

namespace CleanBackupDLL
{
	[XmlRoot]
	public class BackupStatus : EventArgs
	{
		[XmlElement]
		public string SrcPath { get; set; }
		[XmlElement]
		public string DestPath { get; set; }
		[XmlElement]
		public bool IsTimerRunning { get; set; }

		[XmlIgnore]
		public States State { get; set; }
		[XmlIgnore]
		public DateTime NextBackupTime { get; set; }
		[XmlIgnore]
		public int TotalFiles { get; set; }
	}

	public enum States
	{
		STOPPED,
		WAITING,
		RUNNING,
		FINISHED,
		ERROR
	}
}
